home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
utility
/
kdir15.zip
/
KDIR.DOC
next >
Wrap
Text File
|
1992-02-05
|
4KB
|
110 lines
KDIR Version 1.5 (February 1992) - DOS Kill Directory Utility
DESCRIPTION
===========
Kdir is one of those utilities you wish you had every now and
again when you're faced with the task of deleting an entire
directory structure. To do it by hand, you have to change to
each subdirectory, delete all files, switch back to the parent
directory, then remove each empty subdirectory. If any files
have the hidden, or read-only attribute set, you have to reset
the attrubites so you can find and delete them too before you can
remove the subdirectory. This process can be a real pain if you
have deeply nested directory structures. Kdir eliminates the
need to perform this laborious process.
Kdir will let you delete an entire directory and all its
subdirectories with one simple command. All files contained in the
subdirectories will be deleted - even if they are hidden or read-
only. Thus, Kdir is a powerful, yet potentially dangerous
utility.
Before dismantling and removing the directories you specify,
Kdir will list all subdirectories that will be affected by the
operation. It then asks your permission to proceed. If you
allow Kdir to continue, it will print a complete audit trail of
its activities. Each file is listed as it is deleted, and when
each subdirectory is empty the program notifies you that it has
been removed.
If you want to keep a permanent record of what Kdir did, you may
specify the "/l" option on the command line. Kdir will then
record its actions in a log file called "KDIR.LOG". This log file
will be placed in the default directory.
USAGE
=====
kdir [Drive:]\directoryname[\subdirectory name] [/l]
EXAMPLES
========
>kdir c:\lotus\wksheets (removes the c:\lotus\wksheets directory)
>kdir c:\workarea /l (removes c:\workarea and all subdirectories
and logs its actions to KDIR.LOG)
>kdir a:\ (removes all directories & files on the
diskette in drive A:)
>kdir data (removes the "data" subdirectory beneath
the currently logged-in directory)
LIMITATIONS
===========
Kdir will process no more than 200 subdirectories in a single execution. For
most people this should not pose any problems.
Kdir 1.5 has been tested on MSDOS versions 3.3, 4.01, and 5.0. It should
work successfully on versions 3.0 and 3.1 as well.
RELEASE HIGHLIGHTS
==================
Version 1.5
Fixed one bug. Under some circumstances, kdir failed
to find the specified directory and DOS returned a "Sector not found" error.
In rare cases a variable was not being properly initialized prior to calling
the DOS set drive function. This has been corrected.
Enhancement - If you specify the root directory (ie a:\, b:\, etc. or just \)
as the directory to "kill", kdir will now warn you that you have requested it
to erase everything on the drive. It will ask for confirmation before it
continues. If you reply "Y", it will print all subdirectories as in previous
releases, and ask for yet another confirmation before actually performing the
dirty deed. This helps prevent accidentally wiping a hard disk clean!
Version 1.4.1
This release was a bug fix release. A bug was reported that
if a directory name was entered without the drive letter and
backslash, AND the directory name began with a letter corresponding
to a valid drive, you could get the DOS error "Not ready reading
drive A - Abort, Retry, Ignore". 1.4.1 corrected this problem.
REGISTRATION
============
Kdir is distributed as Shareware. If, after trying Kdir, you find it
useful and want to continue to use it, please send your name and address
along with a $5.00 registration fee to:
Jim Simmons
7804 Virginia Lane
Falls Church, VA 22043
Registration will entitle you to use the program and to receive future updates
and bug fixes.
Any comments or suggestions about kdir can be sent to me at the above address,
or by sending mail to COMPUSERV ID: 70431,1325. Thank you for your support.